package com.linzp.bishe.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.linzp.bishe.entity.AchievementTransformation;
import lombok.Data;

/**
 * @ClassName AchievementTransformationExcel
 * @Description 描述
 * @Author LinZePeng
 * @Date 2022/2/27 20:33
 * @Version 1.0
 */
@Data
public class AchievementTransformationExcel {
	@ExcelProperty("合同名称")
	private String contractName;

	@ExcelProperty("对应成果名称")
	private String achievementName;

	public AchievementTransformation getAchievement(){
		return new AchievementTransformation()
				.setContractName(this.contractName)
				.setAchievementName(this.achievementName);
	}
}
